@padding: 8px;
@transition-time: .2s;
@excel-color: #52c41a;
@excel-bgColor: #f6ffed;
@form-color: #1890ff;
@form-bgColor: #e6f7ff;
.edc-app-card {
    position: relative;
    display: inline-block;
    padding: @padding;
    cursor: pointer;
    text-align: left;
    .ant-card {
        height: 150px;
        border-radius: 0;
        border-color: #e2e2e2;
        border-radius: 0;
        .ant-card-extra {
            color: #888;
            font-size: 24px;
            right: 16px;
            top: 10px;
            z-index: 2;
        }
        &:hover {
            box-shadow: 0 1px 15px hsla(0, 0%, 39%, .1);
        }
    }
    &.selected {
        .ant-card {
            border-color: #2DB7F5;
            box-shadow: 0 0 4px 0 #2DB7F5;
        }
    }
    .eac-top {
        position: relative;
        overflow: hidden;
    }
    .eac-bottom {
        position: absolute;
        display: table;
        left: 0;
        right: 0;
        bottom: 0;
        line-height: 30px;
        border-top: 1px solid #dfdfdf;
        .edc-action-btn {
            border: none;
            padding: 0 10px;
            display: table-cell;
            border-right: 1px solid #dfdfdf;
            white-space: nowrap;
            &:nth-last-child(2){
                width: 100%;
            }
            &:last-child {
                border-right: none;
            }
        }
    }
    h4 {
        position: relative;
        font-weight: 600;
        padding-right: 2em;
        .wea-checkbox {
            position: absolute;
            right: 0;
            top: 0;
        }
    }
    .ea-type {
        padding: 10px 0;
        &>span {
            display: inline-block;
            padding: 0px 5px 1px;
            color: #f5222d;
            margin-right: 6px;
            border-radius: 3px;
            background-color: #fff1f0;
            border: 1px solid #f5222d;
            &:first-child {
                color: @form-color;
                background-color: @form-bgColor;
                border-color: @form-color;
                &.highlight {
                    color: @excel-color;
                    background-color: @excel-bgColor;
                    border-color: @excel-color;
                }
            }
            &:last-child {
                &.highlight {
                    color: #fa8c16;
                    background-color: #fff7e6;
                    border-color: #fa8c16;
                    ;
                }
            }
        }
    }
}